﻿<%@ page language="C#" autoeventwireup="true" inherits="Admin_Chengben, App_Web_chengben.aspx.fdf7a39c" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../css/main-admin.css" rel="stylesheet" type="text/css" />

    <script src="../Jscript/jquery-1.3.2.min.js" type="text/javascript"></script>

    <script src="../Jscript/jquery.ysbnotnull.js" type="text/javascript"></script>

    <script src="../Jscript/page.js" type="text/javascript"></script>

</head>
<body>
    <form id="form1" runat="server">
    <div class="title">
        成本核算报表</div>
    <div style="color: #636; margin-bottom: 25px;">
        成本核算月份：
        <select name="select" id="selectnian" runat="server" style="width: 90px; border: 1px solid #CCC;
            height: 20px;">
        </select>年
        <select name="select" id="selectyue" runat="server" style="width: 90px; border: 1px solid #CCC;
            height: 20px; margin-left: 10px;">
            <option selected="selected"></option>
            <option>12</option>
            <option>11</option>
            <option>10</option>
            <option>9</option>
            <option>8</option>
            <option>7</option>
            <option>6</option>
            <option>5</option>
            <option>4</option>
            <option>3</option>
            <option>2</option>
            <option>1</option>
        </select>月
        <asp:ImageButton ID="okbtn" runat="server" ImageUrl="~/images/btn-search.gif" Width="68"
            Height="25" border="0" ImageAlign="absmiddle" OnClick="okbtn_Click" />
        <a href="AddChengben.aspx" style="margin-left: 15px;">
            <img src="../images/btn-add-new-cost.gif" width="92" height="25" border="0" align="absmiddle" /></a></div>
    <div class="report-cost-totalline">
        <div class="report-cost-title padleft5">
            <asp:Label ID="datelb" runat="server"></asp:Label>
        </div>
        <div class="report-cost-kgtotal">
            <strong>重量kg总数：</strong>
            <asp:Label ID="weightkglb" runat="server"></asp:Label></div>
        <div class="report-cost-lbtotal">
            <strong>重量lb总数：</strong>
            <asp:Label ID="weightlblb" runat="server"></asp:Label></div>
        <div class="report-cost-airfeetotal">
            <strong>航空运费总数：</strong>$
            <asp:Label ID="fightpayall" runat="server"></asp:Label></div>
        <div class="report-cost-cnfeetotal">
            <strong>国内运费总数：</strong>$
            <asp:Label ID="guojiapaylb" runat="server"></asp:Label></div>
        <div class="report-cost-taxtotal">
            <strong>税/附加费总数：</strong>$
            <asp:Label ID="fujialb" runat="server"></asp:Label></div>
        <div class="report-cost-otherfeetotal">
            <strong>其它费用总数：</strong>$
            <asp:Label ID="otherlb" runat="server"></asp:Label></div>
        <div class="report-cost-nettotal">
            <strong>毛利润总数：</strong>$
            <asp:Label ID="maolilb" runat="server"></asp:Label></div>
        <div class="report-cost-avecost">
            <strong>平均每磅成本：</strong>$
            <asp:Label ID="chengbenlb" runat="server"></asp:Label></div>
    </div>
    <div class="trans-search-title">
        <div class="report-cost-from padleft5">
            启运地</div>
        <div class="report-cost-date">
            日期</div>
        <div class="report-cost-no">
            航空单号</div>
        <div class="report-cost-to">
            目的地</div>
        <div class="report-cost-kg">
            重量kg</div>
        <div class="report-cost-lb">
            重量lb</div>
        <div class="report-cost-income">
            收入</div>
        <div class="report-cost-airfee">
            航空运费</div>
        <div class="report-cost-cnfee">
            国内运费</div>
        <div class="report-cost-tax">
            税/附加费</div>
        <div class="report-cost-otherfee">
            其它费用</div>
        <div class="report-cost-net">
            毛利润</div>
        <div class="report-cost-lbcost">
            每磅成本</div>
    </div>
    <asp:Repeater ID="rpllist" runat="server">
        <ItemTemplate>
            <%# ((Container.ItemIndex + 1) % 2) == 0 ? "<div    class='trans-search-line result-bg'>" : "<div    class='trans-search-line'>"%>
            <div class="report-cost-from padleft5">
                <%#Eval("QiYunDi")%>
            </div>
            <div class="report-cost-date">
                <%#DateTime.Parse( Eval("AccountingDate").ToString()).ToShortDateString()%></div>
            <div class="report-cost-no">
                <%#Eval("FigthNo")%>
            </div>
            <div class="report-cost-to">
                <%#Eval("MuDiDi")%>
            </div>
            <div class="report-cost-kg">
                <%#Eval("weightKG")%>
            </div>
            <div class="report-cost-lb">
                <%#Eval("weightLb")%>
            </div>
            <div class="report-cost-income">
                $<%#Eval("Income")%>
            </div>
            <div class="report-cost-airfee">
                $<%#Eval("FigthPay")%></div>
            <div class="report-cost-cnfee">
                $<%#Eval("DomesticPay")%></div>
            <div class="report-cost-tax">
                $<%#Eval("TaxPay")%></div>
            <div class="report-cost-otherfee">
                $<%#Eval("OtherPay")%></div>
            <div class="report-cost-net">
                $<%#Eval("Profit")%></div>
            <div class="report-cost-lbcost">
                $<%#Eval("Cost")%></div>
            <div class="report-cost-edit">
                <a href='AddChengben.aspx?id=<%#Eval("ID")%>'>编辑</a></div>
            <div class="report-cost-del">
                <a href="#" onclick="ToDel('chengben','<%#Eval("ID")%>','')">删除</a></div>
            </div>
        </ItemTemplate>
    </asp:Repeater>
    <div class="trans-export">
        <asp:ImageButton ID="tOeXCEL" runat="server" ImageUrl="~/images/btn-export.gif" Width="89"
            Height="25" OnClick="tOeXCEL_Click" /></div>
    <div class="trans-nav">
        <webdiyer:AspNetPager ID="NewsPage" runat="server" AlwaysShow="True" CustomInfoHTML="第%CurrentPageIndex%页，共%PageCount%页，每页%PageSize%条"
            OnPageChanged="NewsPage_PageChanged" PageIndexBoxType="TextBox" ShowPageIndexBox="Always"
            SubmitButtonText="" TextAfterPageIndexBox="" TextBeforePageIndexBox="跳页" Width="800px"
            FirstPageText="&lt;img src=&quot;../img/btn-first.jpg&quot; width=&quot;46&quot; height=&quot;21&quot; align=&quot;absmiddle&quot; /&gt;"
            LastPageText="&lt;img src=&quot;../img/btn-last.jpg&quot; width=&quot;46&quot; height=&quot;21&quot; align=&quot;absmiddle&quot; /&gt;"
            NextPageText="&lt;img src=&quot;../img/btn-next.jpg&quot; width=&quot;32&quot; height=&quot;21&quot; align=&quot;absmiddle&quot; /&gt;"
            PrevPageText="&lt;img src=&quot;../img/btn-prev.jpg&quot; width=&quot;32&quot; height=&quot;21&quot; align=&quot;absmiddle&quot; /&gt;"
            SubmitButtonClass="showsb" PageIndexBoxClass="pageindexbox" PageSize="20">
        </webdiyer:AspNetPager>
    </div>
    </form>
</body>
</html>
